import {
  get,
  post
} from "../api"

// 科技成果获取地区
export const resultAreaInfo = (data) => get(`/bmj-api/api/science/scienceAchievements/areaInfo`, data)

// 科技成果需求列表
export const demandList = (data) => get(`/bmj-api/api/science/scienceAchievementsDemand/list`, data)

// 科技成果需求列表详情
export const demandDetail = (data) => get(`/bmj-api/api/science/scienceAchievementsDemand/detail`, data)

// 科技成果列表
export const achievementsList = (data) => get(`/bmj-api/api/science/scienceAchievements/list`, data)

// 科技成果列表详情
export const achievementsDetail = (data) => get(`/bmj-api/api/science/scienceAchievements/detail`, data)





// 科技成果新增
export const achievementsAdd = (data) => post(`/bmj-api/api/science/scienceAchievements/add`, data)

// 科技成果修改
export const achievementsUpdate = (data) => post(`/bmj-api/api/science/scienceAchievements/update`, data)

// 科技成果删除
export const achievementsDelete = (data) => post(`/bmj-api/api/science/scienceAchievements/delete`, data)

// 我的科技成果列表
export const myScienceAchievements = (data) => get(`/bmj-api/api/science/scienceAchievements/myScienceAchievements`, data)



// 科技成果新增
export const demandAdd = (data) => post(`/bmj-api/api/science/scienceAchievementsDemand/add`, data)

// 科技成果修改
export const demandUpdate = (data) => post(`/bmj-api/api/science/scienceAchievementsDemand/edit`, data)

// 科技成果删除
export const demandDelete = (data) => post(`/bmj-api/api/science/scienceAchievementsDemand/delete`, data)

// 我的科技成果列表
export const myScienceAchievementsDemandList = (data) => get(`/bmj-api/api/science/scienceAchievementsDemand/myScienceAchievementsDemandList`, data)